package com.teacher.pojo.dto.volunteerstar;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author: zfm
 * @Date: 2021/8/1 17:02
 */
@Data
public class VolunteerStarAddDto {
    @ApiModelProperty(value = "学号")
    @NotBlank(message = "学号不能为空")
    private String studentKey;

    @ApiModelProperty(value = "学期ID")
    private Long termId;

    @ApiModelProperty(value = "星级志愿者 10->一星 20->二星 30->三星 40->四星 50 -> 五星")
    @NotNull(message = "等级不能为空")
    private Integer star;

    @ApiModelProperty(value = "备注")
    private String remark;
}
